﻿CREATE TABLE [dbo].[codeRefundType] (
    [RefundTypeID] INT          IDENTITY (1, 1) NOT NULL,
    [Description]  VARCHAR (50) NOT NULL,
    [Active]       BIT          not NULL,
    [OwnerID]      INT          NULL
);
GO
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Defines the reasons that a customer would request a refund.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeRefundType';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'The RefundType ID', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeRefundType',
	@level2type = N'COLUMN', @level2name = N'RefundTypeID';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Definition for refund type.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeRefundType',
	@level2type = N'COLUMN', @level2name = N'Description';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Indicates whether the refund type is being used (1), or not (0).', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'codeRefundType',
	@level2type = N'COLUMN', @level2name = N'Active';

